package sguigu.threee.service.impl;

import org.springframework.stereotype.Service;
import sguigu.threee.service.CalcService;

/**
 * @Author: jxm
 * @Description:
 * @Date: 2022/11/23 16:17
 * @Version: 1.0
 */
@Service
public class CalcServiceImpl implements CalcService {

    @Override
    public int div(int x, int y) {
        int result = x / y;
        System.out.println("===>CalcServiceImpl被调用，计算结果为：" + result);
        return result;
    }
}
